package com.lkd.mapper;

import com.lkd.entity.Business;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BusinessTypeMapper {

    List<Business> list();

    @Select("select * from tb_business where id = #{businessId}")
    Business getById(Integer businessId);
}
